package com.example.smartgreenhouse.service;

import com.example.smartgreenhouse.entity.LightOperationLog;
import java.util.List;
import java.util.Map;

public interface LightService {
    LightOperationLog controlLight(Long lightId, Long greenhouseId, String isOn,
                                  Long operatorId);
    List<LightOperationLog> getLightHistory(Long lightId);
    Map<String, Object> setLightAuto(Long lightId, Long greenhouseId, 
                                    Long operatorId, Integer action);
}
